const { Controller } = require('egg');

class UserController extends Controller {
  async index() {
    const { ctx } = this;
    const userInfo = await ctx.service.user.addName('wzh');
    ctx.body = userInfo;
  }
}
module.exports = UserController;
